package com.mini.bean;


import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class OrderFrom {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String openid;//微信的用户id

    private BigDecimal longitude;//经度

    private BigDecimal latitude;//纬度

    private String phone;//手机

    private String imgpaths;//图片地址

    private String content;//描述内容

    private Boolean del;//是否取消

    private BigDecimal reward;//经度

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createtime;//创建时间

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updatetime;//更新时间

    // Property accessors

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return this.id;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getOpenid() {
        return this.openid;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() {
        return this.longitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() {
        return this.latitude;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setImgpaths(String imgpaths) {
        this.imgpaths = imgpaths;
    }

    public String getImgpaths() {
        return this.imgpaths;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return this.content;
    }

    public void setDel(Boolean del) {
        this.del = del;
    }

    public Boolean getDel() {
        return this.del;
    }

    public BigDecimal getReward() {
        return reward;
    }

    public void setReward(BigDecimal reward) {
        this.reward = reward;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}